<?php

class Db_Tables_Log1 extends Zend_Db_Table
{
    protected $_name = 'log1';
	
	function AddLog($contents)
	{
		$row = $this->createRow();
		$row->contents = $contents;
		$row->ctime = date("Y-m-d H:i:s");
		$row->save();
	}
}